//
//  ScannerSettingModel.swift
//  GreenDeal
//
//  Created by Moennig Q on 23/11/2022.
//

import Foundation
struct SettingModel: Decodable{
    var interval_time_phone: Int?
    var interval_time_email: Int?
    var setting: DeviceTypeSetting?
}
struct DeviceTypeSetting: Decodable {
    var ios: ScannerSettingModel?
    var android: ScannerSettingModel?
}
struct ScannerSettingModel: Decodable{
    var license: String?
    var panel_number_regexp: String?
    var inverter_number_regexp: String?
    var confidence: Int?
    var deblur_level: Int?
    var deblur_confidence: Int?
    ////扫描时，自动开启反色条码设置的panel brand,or model, 二者有一个包含当前job的brand或model就自动开启
    var inverted_panel_brand_or_model: String?
    //扫描时，自动开启fuzzy code scanning设置的panel brand,or model, 二者有一个包含当前job的brand或model就自动开启
    var fuzzy_panel_brand_or_model: String?
}
